package com.meilai.project.controller.web.market.vo;

import com.meilai.project.dto.workflow.FlowBusinessDataSuperEntity;
import com.meilai.project.vo.business.media.MediaTypeExtVO;
import com.meilai.project.vo.business.media.MediaTypeSpecPriceVO;
import com.meilai.project.vo.business.sale.MediaSpecTypeCountAmountVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class ConfirmBillDetail extends FlowBusinessDataSuperEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "分公司ID")
    private Long dept_id;

    @ApiModelProperty(value = "客户ID（项目ID）")
    private Long customer_id;

    @ApiModelProperty(value = "合同id")
    private Long contract_id;

    @ApiModelProperty(value = "销售单id")
    private Long bill_sale_id;

    @ApiModelProperty(value = "是否需要小样，0:不需要,1:需要")
    private Boolean need_sample;

    @ApiModelProperty(value = "最晚上刊日期")
    private LocalDate latest_up_date;

    @ApiModelProperty(value = "1:上午,2:下午")
    private Integer latest_up_time;

    @ApiModelProperty(value = "最晚下刊日期")
    private LocalDate latest_down_date;

    @ApiModelProperty(value = "1:上午,2:下午")
    private Integer latest_down_time;

    @ApiModelProperty(value = "是否第一次上画，0:否，1:是")
    private Boolean first_time;

    @ApiModelProperty(value = "是否有新画面，0:否，1:是")
    private Boolean has_new_pic;

    @ApiModelProperty(value = "是否显示代理资源标识，0:否，1:是")
    private Boolean show_proxy_flag;

    @ApiModelProperty(value = "画面是否回收")
    private Boolean pic_need_recycle;

    @ApiModelProperty(value = "是否生成外链（不传），0:否，1:是")
    private Boolean generate_link;

    @ApiModelProperty(value = "设计人员id")
    private Long design_user_id;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "确认批次号")
    private String confirm_batch;

    @ApiModelProperty(value = "签字照片")
    private String confirm_sign_img;

    @ApiModelProperty(value = "当前人是否可以审核")
    private Boolean can_check;

    @ApiModelProperty(value = "当前人是否为提交人")
    private Boolean is_applyer;

    @ApiModelProperty(value = "合同编号")
    private String contract_num;

    @ApiModelProperty(value = "客户名称")
    private String customer_name;

    @ApiModelProperty(value = "分公司名称")
    private String dept_name;

    @ApiModelProperty(value = "点位开始时间")
    private LocalDate daterange_start;

    @ApiModelProperty(value = "点位结束时间")
    private LocalDate daterange_end;

    @ApiModelProperty("市场单列表")
    private List<BillMarketVO> billMarketVOList;

    @ApiModelProperty("媒体类型对应的数量")
    private List<MediaSpecTypeCountAmountVO> mediaTypeCountAmount;

    /**
     * 点位类型数据
     */
    private List<MediaTypeExtVO> mediaTypeExtVOList;

    /**
     * 价格数据
     */
    private List<MediaTypeSpecPriceVO> mediaTypeSpecPriceVOList;
}
